export function randomBetween(low: number, high: number) {
  return low + Math.floor(Math.random() * (high - low + 1));
}

export function randomStr(len = 10) {
  const S = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
  let res = "";
  for (let i = 0; i < len; i++) {
    res += S[randomBetween(0, 51)];
  }
  return res;
}
